package com.etc.datefrme

import org.apache.spark.sql.{DataFrame, SparkSession}

object sparksql1 {
  def main(args: Array[String]): Unit = {
    val sc = SparkSession.builder().master("local[*]").appName("sparksql1").getOrCreate()

    val reader:DataFrame = sc.read.json("d:\\a.json")

    reader.show()
  }
}
